﻿using System;
using System.Collections.Generic;
using System.Text;

namespace Demo0524
{
    class Animal
    {
        private string name;

        public string Name { get => name; set => name = value; }
        public Animal() { }
        public Animal(string name)
        {
            this.name = name;
        }
        public void Anima() 
        {
            Console.WriteLine("我是动物！");
        }
    }
}
